package com.zpxt.zpxt.dao;

import com.zpxt.zpxt.entity.Talent;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author:hjx
 * @Description:
 * @Date: Created in 16:23 2018/4/4
 * @Modified By:
 */
public interface TalentRepository extends JpaRepository<Talent, Long>{
    List<Talent> findByCode(String code);
    List<Talent> findByEmail(String email);
}
